package HTTPSendIntegrator;

import java.util.ArrayList;

public class ReadRecInd extends MmsMessage{
	private String readReportReqMessage;

	public ReadRecInd(){
		this.readReportReqMessage = "";
		this.mmsMessageType = MMS_MESSAGE_READ_REC;
	}
	
	public String toString(){
		this.readReportReqMessage = "";
		
		if (!this.isMessageTypeSet()) return "MessageType not defined";
		if (!this.isTransactionIDSet()) return "transactionID not defined";
		if (!this.isMessageIDSet()) return "MessageID not defined";
		if (!this.isMessageReceiverSet()) return "Receiver type not defined";
		if (!this.isMessageSenderSet()) return "Sender type not defined";		
		
		readReportReqMessage += MMS_MESSAGE_TYPE + " " + getMessageType() + NL;
		readReportReqMessage += MMS_TRANSACTION_ID + " " + getTransactionID() + NL;
		readReportReqMessage += MMS_MESSAGE_ID + " " + this.getMessageID() + NL;
		readReportReqMessage += MMS_TO + " " + this.getMessageReceivers() + NL;
		readReportReqMessage += MMS_FROM + " " + this.getMessageSender() + NL;
		
		return this.readReportReqMessage;
	}
}